/**
* \file GUIPlugin.cpp
* \brief GUIPlugin decleration class for windows plugin
* \author Edouard ROGE
* \date 24 Novembre 2013
*/

#include "GUIContext.h"
#include "GUIPlugin.h"

GUIPlugin::GUIPlugin()
{
}

GUIPlugin::~GUIPlugin()
{
}

const std::string & GUIPlugin::GetName() const
{
	static std::string strName = "GUI Gtk Plugin";
	return strName;
}

IGUIContext * GUIPlugin::CreateContext() const
{
	return new GUIContext();
}

void GUIPlugin::DestroyContext(IGUIContext * _pContext) const
{
	if (_pContext)
	{
		delete (GUIContext*)_pContext;
	}
}
